<template>
  <div class="contents">
    <div class="contetn_left">
      <div class="pagetab">
      </div>
      <item-wrap title="能耗总览" class="contetn_lr_item">
        <left-top/>
      </item-wrap>
      <item-wrap title="耗能占比" class="contetn_lr_item">
        <left-center/>
      </item-wrap>
      <item-wrap title="库存预警" class="contetn_lr_item">
        <left-bottom/>
      </item-wrap>
    </div> 
    <div class="contetn_center">
      <center-top class="contetn_center_top"/>
      <item-wrap title="销售计划完成率" class="contetn_center_bottom">
        <center-bottom/>
      </item-wrap>
    </div>
    <div class="contetn_right">
      <item-wrap title="销售统计" class="contetn_lr_item">
        <right-top/>
      </item-wrap>
      <item-wrap title="销售排名（TOP8）" class="contetn_lr_item">
        <right-center/>
      </item-wrap>
      <item-wrap title="生产统计" class="contetn_lr_item">
        <right-bottom/>
      </item-wrap>
    </div>
  </div>
</template>

<script>
import itemWrap from '../../components/item-wrap/item-wrap.vue';
import CenterBottom from './center-bottom.vue';
import CenterTop from './center-top.vue';
import LeftBottom from './left-bottom.vue';
import LeftCenter from './left-center.vue';
import LeftTop from './left-top.vue';
import RightBottom from './right-bottom.vue';
import RightCenter from './right-center.vue';
import RightTop from './right-top.vue';
export default {
  components: { itemWrap, LeftTop, LeftCenter, LeftBottom, CenterBottom, CenterTop, RightTop, RightCenter, RightBottom },
  
  data() {
    return {

    };
  },
  filters: {
    numsFilter(msg) {
      return msg || 0;
    },
  },
  created() {
  },

  mounted() { },
  methods: {

  },
};
</script>
<style lang="scss" scoped>
// 内容
.contents {
  .contetn_left,
  .contetn_right {
    width: 540px;
    box-sizing: border-box;
    // padding: 16px 0;
  }

  .contetn_center {
    width: 720px;
  }

  //左右两侧 三个块
  .contetn_lr_item {
    height: 310px;
  }

  .contetn_center_top {
    width: 100%;
  }

  // 中间
  .contetn_center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .contetn_center_bottom {
    height: 315px;
  }

  //左边 右边 结构一样
  .contetn_left,
  .contetn_right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
  }
}

@keyframes rotating {
  0% {
    -webkit-transform: rotate(0) scale(1);
    transform: rotate(0) scale(1);
  }
  50% {
    -webkit-transform: rotate(180deg) scale(1.1);
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    -webkit-transform: rotate(360deg) scale(1);
    transform: rotate(360deg) scale(1);
  }
}
</style>
